package com.yun.test03generate.common.exception;
/**
 * @Author: fxy
 * @Date: 2021/09/12/8:05
 * @Description:
 */
public enum ExceptionEnum {
    /**
     * 系统异常
     */
    ERROR("sys_001","系统异常");

    ExceptionEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    void setCode(String code) {
        this.code = code;
    }

    String getMessage() {
        return message;
    }

    void setMessage(String message) {
        this.message = message;
    }
}
